﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Steve
{
    public enum SearchType
    {
        LatestApproved,
        Latest,
        RevisionHistory
    }

    public interface ISearchIndexService
    {
        void RebuildIndex();
        void Index(IEnumerable<Tuple<Guid, int>> contentIds);
    }

    public interface ISearchQueryService
    {
        SearchResult Search(SearchType searchType, string rawQuery);
    }
}
